package com.Java.train.business.service.daily;

import com.Java.train.common.response.CommonResp;
import com.Java.train.business.entity.DailyTrain;
import com.baomidou.mybatisplus.extension.service.IService;
import com.Java.train.common.response.PageResp;
import com.Java.train.business.entity.DTO.DailyTrainDTO;
import com.Java.train.business.req.daily.DailyTrainQueryReq;

import java.util.Date;

/**
* @author luomoxingchen
* @since 2024-09-24
*/
public interface DailyTrainService extends IService<DailyTrain> {

    /**
    * DailyTrain详情
    * @param
    * @return
    */
    PageResp<DailyTrainDTO> queryList(DailyTrainQueryReq dailyTrainQueryReq);

    /**
    * DailyTrain保存和修改
    * @param dailyTrain 根据需要进行传值
    * @return
    */
    CommonResp<Object> modify(DailyTrain dailyTrain);

    /**
    * DailyTrain删除
    * @param ids
    * @return
    */
    CommonResp<Object> remove(String ids);

    void genDaily(Date date);

}


